package com.ruoyi.profession.service.impl;

import com.ruoyi.profession.domain.CareerInfo;
import com.ruoyi.profession.domain.InvitationList;
import com.ruoyi.profession.mapper.CareerInfoMapper;
import com.ruoyi.profession.mapper.InvitationListMapper;
import com.ruoyi.profession.service.ICareerInfoService;
import com.ruoyi.profession.service.IInvitationListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 履历信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-06-01
 */
@Service
public class InvitationListServiceImpl implements IInvitationListService
{
    @Autowired(required = false)
    private InvitationListMapper invitationListMapper;

    /**
     * 查询履历信息
     * 
     * @param id 履历信息主键
     * @return 履历信息
     */

    @Override
    public InvitationList selectInvitationListById(Long id) {
        return invitationListMapper.selectInvitationListById(id);
    }

    @Override
    public List<InvitationList> selectInvitationListList(InvitationList invitationList) {
        return invitationListMapper.selectInvitationListList(invitationList);
    }

    @Override
    public int insertInvitationList(InvitationList invitationList) {

        return invitationListMapper.insertInvitationList(invitationList);
    }

    @Override
    public int updateInvitationList(InvitationList invitationList) {

        return invitationListMapper.updateInvitationList(invitationList);
    }

    @Override
    public int deleteInvitationListByIds(Long[] ids) {
        return invitationListMapper.deleteInvitationListByIds(ids);
    }

    @Override
    public int deleteInvitationListById(Long id) {
        return invitationListMapper.deleteInvitationListById(id);
    }
}
